package com.fatdetection.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fatdetection.demo.bean.Consult;

import java.util.List;

public interface ConsultService {
    Page<Consult> selectPage(Integer current, Integer size);
    boolean insert(Consult data);
    boolean del(Integer id);
    boolean update(Consult data);
    Consult getOne(String key, String val);
    List<Consult> getAll();
}
